package com.zua.mapper;
import com.zua.entity.User;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface UserMapper {
    void insertUser(User user);
    void deleteById(int id);
    void updateUser(User user);
    User selectById(int id);
    User selectByName(String name);
    List<User> showAll(@Param("pageNum")int pageNum, @Param("pageSize")int pageSize);
}
